<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office"xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<!--[if gte mso 9]><xml>
<x:ExcelWorkbook>
<x:ExcelWorksheets>
   <x:ExcelWorksheet>   

    <x:Name></x:Name>
    <x:WorksheetOptions>    
     <x:Selected/>     
    </x:WorksheetOptions>
   </x:ExcelWorksheet>  
</x:ExcelWorksheets>
</x:ExcelWorkbook>
</xml><![endif]-->
</head>
<style>

</style>
<body>
<table border="1" style="font-size:24px;"> 
<tr height="20">
			<th width="55" align="left">订单号</th> 
            <th width="50" align="left">网站名称</th>
            <th width="45" align="left">网站国家</th>
            <th width="35" align="left">销售员</th>
			<th width="50" align="left">产品编码</th>
			<th width="200" align="left" >产品描述</th>
			<th width="25" align="left">数量</th>
			<th width="60" align="left">单价</th>
            <th width="60" align="left">总价格</th>
            <th width="45" align="left">订单状态</th> 
            <th align="left">跟踪码</th> 
            <th align="left">备注</th> 
            <th width="45" align="left">客户姓名</th>
            <th align="left">客户邮箱</th> 
            <th align="left">邮政编码</th> 
            <th align="left">联系电话</th> 
            <th align="left">收货人</th> 
            <th align="left">收货地址</th> 
            <th align="left">发货方式</th> 
            <th align="left">客户留言</th> 
</tr>
<volist name="list" id="vo" key="k">
<tr> 
      		<td>{$vo.sn}</td>
			<td>{$vo['domain']}</td> 
			<td>{$vo['country']}</td> 
			<td>{$vo['saleser']}</td> 
			<td colspan="4">
			<table width="100%">
			<volist name="vo['sublist']" id="voo">
							<tr>
							<td width="50">{$voo['productcode']}</td>
							<td width="200">{$voo['pbody']}</td>
							<td width="30">{$voo['num']}</td>
							<td width="80">{$voo['price']|number_format=###,2} {$vo.currency}</td>
							</tr>
			</volist>
			</table>
			</td>
			<td><font color="red">{$vo.price|number_format=###,2}</font> {$vo.currency}</td>
      		<td><if condition="$vo['status'] ==0"><span style="color:#000000">{%status_0}</span></if>
				<if condition="$vo['status'] ==1"><span style="color:#FF0000">{%status_1}</span></if>
				<if condition="$vo['status'] ==2"><span style="color:#00FF00">{%status_2}</span></if>
				<if condition="$vo['status'] ==3"><span style="color:#0000FF">{%status_3}</span></if>
				<if condition="$vo['status'] ==4"><span style="color:#FFFF00">{%status_4}</span></if>
				<if condition="$vo['status'] ==5"><span style="color:#00FFFF">{%status_5}</span></if>
				<if condition="$vo['status'] ==6"><span style="color:#FF00FF">{%status_6}</span></if>
				<if condition="$vo['status'] ==7"><span style="color:#999999">{%status_7}</span></if>
			</td>
            <td>{$vo['trackcode']}</td>
            <td>{$vo['note1']}</td>
            <td>
<if condition="$vo.currency neq 'JPY' ">
{$vo['firstname']} {$vo['lastname']}
<else />
{$vo['lastname']} {$vo['firstname']}
</if>
			</td>
            <td>{$vo['email']}</td>
            <td>{$vo['zipcode']}<notempty name="$vo['zipcode2']"> - {$vo['zipcode2']}</notempty></td>
            <td>{$vo.night_phone_a} - {$vo.night_phone_b} - {$vo.night_phone_c}</td>
            <td>{$vo['consignee']}</td>
            <td>

<if condition="vo.currency neq 'JPY' ">
{$vo['firstname']} {$vo['lastname']} <php>echo chr(10).chr(13);</php>
{$vo['zipcode']}<php>echo chr(10).chr(13);</php>
{$vo.address1}<php>echo chr(10).chr(13);</php>
{$vo.address2}<php>echo chr(10).chr(13);</php>
{$vo.city}<php>echo chr(10).chr(13);</php>
{$vo.state}<php>echo chr(10).chr(13);</php>
{$vo.country1}<php>echo chr(10).chr(13);</php>
<else />
{$vo.country1}<php>echo chr(10).chr(13);</php>
{$vo.state}<php>echo chr(10).chr(13);</php>
{$vo.city}<php>echo chr(10).chr(13);</php>
{$vo['firstname']} {$vo['lastname']}{$vo.address1}<php>echo chr(10).chr(13);</php>
{$vo.address2}<php>echo chr(10).chr(13);</php>
</if>

</td>
            <td>{$vo['logistics']}</td>
            <td>{$vo['note']}</td>
</tr> 
</volist>
</table> 
</body></html>